from flask import Flask
from Config import configs

app = Flask(__name__)

# 跨域
from flask_cors import CORS

CORS(app)

# 加载配置文件
app.config.from_object(configs)

# 蓝图
from fenlei import bp_fenlei
app.register_blueprint(bp_fenlei,url_prefix='/users')



if __name__ == '__main__':
    app.run()
